Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

crc32.c File Reference

#include "zlib.h"

Include dependency graph for crc32.c:

Include dependency graph

Defines

#define local   static
#define DO1(buf)   crc = crc_table[((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8);
#define DO2(buf)   DO1(buf); DO1(buf);
#define DO4(buf)   DO2(buf); DO2(buf);
#define DO8(buf)   DO4(buf); DO4(buf);

Functions

uLongfget_crc_table ()
uLong crc32 (crc, buf, len) uLong crc

Variables

uLongf crc_table [256]
Bytefbuf
uInt len

Define Documentation

#define DO1 buf       crc = crc_table[((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8);
 

#define DO2 buf       DO1(buf); DO1(buf);
 

#define DO4 buf       DO2(buf); DO2(buf);
 

#define DO8 buf       DO4(buf); DO4(buf);
 

#define local   static
 


Function Documentation

uLong crc32 crc   ,
buf   ,
len   
 

uLongf* get_crc_table  
 


Variable Documentation

Bytef* buf
 

uLongf crc_table[256] [static]
 

uInt len
 


Generated on Mon Sep 12 19:59:31 2005 for Destiny3D by doxygen1.3-rc3